package com.manage.gateway.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * @author zhangqing
 * @version V1.0
 * @description 网关自定义配置类
 * @date 5/1/2021 4:09 PM
 */
@Data
@ConfigurationProperties(prefix = "application", ignoreUnknownFields = false)
@RefreshScope
public class ApplicationProperties {
    private Exclude exclude = new Exclude();

//    private Auth auth = new Auth();

    @Data
    public static class Exclude {
        private String[] tokenFilterExclude;
    }

//    @Data
//    public static class Auth{
//        private String checkToken;
//    }
}
